package com.example.study.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author 喜欢多云的季节
 * @since 2022-04-20
 */
@ApiModel(value="Paylog对象", description="")
public class Paylog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户ID")
    @TableId(value = "account", type = IdType.ID_WORKER)
    private String account;

    @ApiModelProperty(value = "用户名称")
    private String user_name;

    @ApiModelProperty(value = "商品ID")
    private String product_id;

    @ApiModelProperty(value = "商家订单号")
    private String out_trade_no;

    @ApiModelProperty(value = "交易的订单金额，单位为元，两位小数。该参数的值为支付时传入的total_amount")
    private String total_amount;

    @ApiModelProperty(value = "交易状态：WAIT_BUYER_PAY（交易创建，等待买家付款）、TRADE_CLOSED（未付款交易超时关闭，或支付完成后全额退款）、TRADE_SUCCESS（交易支付成功）、TRADE_FINISHED（交易结束，不可退款）")
    private String trade_status;

    @ApiModelProperty(value = "支付宝交易号")
    private String trade_no;

    @ApiModelProperty(value = "买家实付金额，单位为元，两位小数。该金额代表该笔交易买家实际支付的金额，不包含商户折扣等金额")
    private String buyer_pay_amount;

    @ApiModelProperty(value = "本次交易打款给卖家的时间")
    private Date send_pay_date;

    @ApiModelProperty(value = "回调结果通知是否成功")
    private String notify_status;

    @ApiModelProperty(value = "创建时间")
    private Date create_time;

    @ApiModelProperty(value = "更新时间")
    private Date update_time;


    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getProduct_id() {
        return product_id;
    }

    public void setProduct_id(String product_id) {
        this.product_id = product_id;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public String getTotal_amount() {
        return total_amount;
    }

    public void setTotal_amount(String total_amount) {
        this.total_amount = total_amount;
    }

    public String getTrade_status() {
        return trade_status;
    }

    public void setTrade_status(String trade_status) {
        this.trade_status = trade_status;
    }

    public String getTrade_no() {
        return trade_no;
    }

    public void setTrade_no(String trade_no) {
        this.trade_no = trade_no;
    }

    public String getBuyer_pay_amount() {
        return buyer_pay_amount;
    }

    public void setBuyer_pay_amount(String buyer_pay_amount) {
        this.buyer_pay_amount = buyer_pay_amount;
    }

    public Date getSend_pay_date() {
        return send_pay_date;
    }

    public void setSend_pay_date(Date send_pay_date) {
        this.send_pay_date = send_pay_date;
    }

    public String getNotify_status() {
        return notify_status;
    }

    public void setNotify_status(String notify_status) {
        this.notify_status = notify_status;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    @Override
    public String toString() {
        return "Paylog{" +
        "account=" + account +
        ", user_name=" + user_name +
        ", product_id=" + product_id +
        ", out_trade_no=" + out_trade_no +
        ", total_amount=" + total_amount +
        ", trade_status=" + trade_status +
        ", trade_no=" + trade_no +
        ", buyer_pay_amount=" + buyer_pay_amount +
        ", send_pay_date=" + send_pay_date +
        ", notify_status=" + notify_status +
        ", create_time=" + create_time +
        ", update_time=" + update_time +
        "}";
    }
}
